from django.urls import path
from . import views
app_name = 'User'  # 这app name是为了方便反向解析用，不影响url使用
urlpatterns = [
    path('register/',views.user_register,name='register'),
    path('login/',views.user_login,name='login'),
    path('logout/',views.user_logout,name='logout'),
    path('profile/',views.user_profile,name='profile'),
    path('list/',views.user_list,name='user_list')
]